Range

Function

This API is used to get parameter range for Record > Playback Page page.

Request Message

None.

Sample:

POST API/Playback/PlaybackPage/Range HTTP/1.1
{
	"version": "1.0"
}

Response Message

Parameter Description

Table 1

ParameterRangeTypeDescription
FaceAttendancejson objectShow as followTable2
NormalJson objectShow as followTable3
PictureJson objectShow as followTable3
HumanVehicleJson objectShow as followTable3
PidLcdJson objectShow as followTable3
supportFaceAttrJson objectAI playback page with face attributes of the control.
param_limitJson objectShow as followTable3
support_recognize_car_colorarraySupported vehicle colors, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle color for more information of the range.
support_recognize_car_typearraySupported vehicle types, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle type for more information of the range.
support_recognize_car_brandarraySupported vehicle brands, see Login > Login > DeviceInfo > Get.md > Table 9 > Vehicle brand for more information of the range.
support_recognize_person_upper_colorstringDoes the device support detecting the color of pedestrians' upper color, see Login > Login > DeviceInfo > Get.md > Table 10 > Upper Color for more information of the range.
support_recognize_person_lower_colorstringDoes the device support detecting the color of pedestrians' lower color, see Login > Login > DeviceInfo > Get.md > Table 10 > Lower Color for more information of the range.
support_recognize_person_genderstringSupported detection of pedestrian gender, see Login > Login > DeviceInfo > Get.md > Table 10 > Gender for more information of the range.
support_recognize_person_agestringSupported detection of pedestrian age, see Login > Login > DeviceInfo > Get.md > Table 10 > Age for more information of the range.
support_recognize_person_hatstringSupported detection of pedestrian hat, see Login > Login > DeviceInfo > Get.md > Table 10 > Hat for more information of the range.
support_recognize_person_glassesstringSupported detection of pedestrian glasses, see Login > Login > DeviceInfo > Get.md > Table 10 > Glasses for more information of the range.
support_recognize_person_sleeve_lengthstringSupported detection of pedestrian sleeve length, see Login > Login > DeviceInfo > Get.md > Table 10 > Sleeve type for more information of the range.
support_recognize_person_lower_typestringSupported detection of pedestrian lower type, see Login > Login > DeviceInfo > Get.md > Table 10 > Bottom type for more information of the range.
support_recognize_person_bagstringSupported detection of pedestrian bag, see Login > Login > DeviceInfo > Get.md > Table 10 > Backpacking for more information of the range.
support_recognize_person_towardstringSupported detection of pedestrian toward, see Login > Login > DeviceInfo > Get.md > Table 10 > Orientation for more information of the range.

Table 2

ParameterRangeTypeDescription
off_duty_timestringThe time format is “hh:mm:ss”
on_duty_timestringThe time format is “hh:mm:ss”
working_days"Sun",
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat"
string arrayworkday

Table 3

ParameterRangeTypeDescription
display_mode“Treelike”,
“Checkbox”
intUI display type
default_sort_of_resultsintSearch information in default or reverse order.
itemsintShow as followTable4
similarity_faceintControl the range and default value of the IE playback Face Detection similarity input box.
similarity_customerintControl the Fault-tolerant input field and the default value of the IE playback License Plate.
similarity_licenseintThe range and default value of the similarity input box controlling the IE playback of Repeat customer.

Table 4

ParameterRangeTypeDescription
record_typeJson objectPlayback Type
Show as followTable5
stream_mode“Mainstream”,
“Substream”
stringPrimary substream type (Normal only has this field)

Table 5

ParameterRangeTypeDescription
normalboolnormal
manualboolmanual
alarmJson objectShow as followTable6 (For IPC only)
smartJson objectShow as followTable7 (For IPC only)
HumanboolAI Human (For NVR only)
VehicleboolAI Vehicle (For NVR only)
IOboolIO alarm record type (For NVR only)
motionboolMotion alarm record type (For NVR only)
PIRboolPir (For NVR only)
SoundboolAudible alarm (For NVR only)
occulusionboolLens blocked (For NVR only)
Intelligentboolintelligent analysis (For NVR only)
PIDboolAI perimeter intrusion (For NVR only)
LCDboolAI Overline detection (For NVR only)
faceAttrboolFace attribute (For NVR only)

Table 6

ParameterRangeTypeDescription
IOJson objectIO alarm record type
motionJson objectMotion alarm record type
PIRJson objectPir
SoundJson objectAudible alarm
NetbreakJson objectdisconnected record

Table 7

ParameterRangeTypeDescription
PIDbool
LCDbool
SODbool
PDbool
FDbool
CCbool
intrusionbool
regionEntrancebool
regionExitingbool

Tips:

The response message of the Range request may not contain all the fields in the above table, and the fields not included indicate that the device does not support this parameter configuration.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
	"version": "1.0",
	"result": "success",
	"data": {
		"Normal": {
			"type": "object",
			"items": {
				"record_type": {
					"type": "object",
					"items": {
						"normal": {
							"type": "bool"
						},
						"event": {
							"type": "object",
							"items": {
								"manual": {
									"type": "bool"
								},
								"IO": {
									"type": "bool"
								},
								"motion": {
									"type": "bool"
								},
								"Sound": {
									"type": "bool"
								},
								"occulusion": {
									"type": "bool"
								}
							}
						},
						"ai": {
							"type": "object",
							"items": {
								"fd": {
									"type": "bool"
								},
								"pd&vd": {
									"type": "bool"
								},
								"pid": {
									"type": "bool"
								},
								"lcd": {
									"type": "bool"
								},
								"sod": {
									"type": "bool"
								},
								"cc": {
									"type": "bool"
								},
								"cd": {
									"type": "bool"
								},
								"qd": {
									"type": "bool"
								},
								"intrusion": {
									"type": "bool"
								},
								"regionEntrance": {
									"type": "bool"
								},
								"regionExiting": {
									"type": "bool"
								},
								"lpd": {
									"type": "bool"
								},
								"rsd": {
									"type": "bool"
								},
								"thermal": {
									"type": "bool"
								},
								"faceAttr": {
									"type": "bool"
								}
							}
						}
					}
				},
				"stream_mode": {
					"type": "string",
					"mode": "r",
					"items": [
						"Mainstream",
						"Substream"
					],
					"default_value": "Substream"
				}
			},
			"display_mode": "Treelike",
			"recordColorArr": [
				{
					"normal": 1
				},
				{
					"motion": 4
				},
				{
					"IO": 8
				},
				{
					"PIR": 65536
				},
				{
					"ai": 128
				},
				{
					"alarm": 2
				},
				{
					"manual": 16384
				}
			]
		},
		"Smart": {
			"type": "object",
			"items": {
				"record_type": {
					"type": "object",
					"items": {
						"normal": {
							"type": "bool"
						},
						"event": {
							"type": "object",
							"items": {
								"manual": {
									"type": "bool"
								},
								"IO": {
									"type": "bool"
								},
								"motion": {
									"type": "bool"
								},
								"Sound": {
									"type": "bool"
								},
								"occulusion": {
									"type": "bool"
								}
							}
						},
						"ai": {
							"type": "object",
							"items": {
								"fd": {
									"type": "bool"
								},
								"pd&vd": {
									"type": "bool"
								},
								"pid": {
									"type": "bool"
								},
								"lcd": {
									"type": "bool"
								},
								"sod": {
									"type": "bool"
								},
								"cc": {
									"type": "bool"
								},
								"cd": {
									"type": "bool"
								},
								"qd": {
									"type": "bool"
								},
								"intrusion": {
									"type": "bool"
								},
								"regionEntrance": {
									"type": "bool"
								},
								"regionExiting": {
									"type": "bool"
								},
								"lpd": {
									"type": "bool"
								},
								"rsd": {
									"type": "bool"
								},
								"thermal": {
									"type": "bool"
								},
								"faceAttr": {
									"type": "bool"
								}
							}
						}
					}
				},
				"stream_mode": {
					"type": "string",
					"items": [
						"Mainstream",
						"Substream"
					]
				}
			},
			"display_mode": "Treelike"
		},
		"Picture": {
			"type": "object",
			"items": {
				"record_type": {
					"type": "object",
					"items": {
						"normal": {
							"type": "bool"
						},
						"event": {
							"type": "object",
							"items": {
								"manual": {
									"type": "bool"
								},
								"motion": {
									"type": "bool"
								},
								"IO": {
									"type": "bool"
								},
								"PIR": {
									"type": "bool"
								}
							}
						}
					}
				}
			},
			"display_mode": "Treelike",
			"default_sort_of_results": 0
		},
		"HumanVehicle": {
			"type": "object",
			"items": {
				"record_type": {
					"type": "object",
					"items": {
						"Human": {
							"type": "bool"
						},
						"Vehicle": {
							"type": "bool"
						},
						"Non-Vehicle": {
							"type": "bool"
						}
					}
				}
			},
			"display_mode": "Checkbox"
		},
		"PidLcd": {
			"type": "object",
			"items": {
				"record_type": {
					"type": "object",
					"items": {
						"pid": {
							"type": "bool"
						},
						"lcd": {
							"type": "bool"
						}
					}
				}
			},
			"display_mode": "Checkbox"
		},
		"LicensePlate": {
			"type": "object",
			"items": {
				"plate_keys": {
					"type": "string",
					"min_len": 1,
					"max_len": 16
				},
				"max_error_char": {
					"type": "int32",
					"min": 0,
					"max": 5,
					"default_value": 3
				}
			}
		},
		"supportFaceAttr": true,
		"FaceAttendance": {
			"working_days": [
				"Mon.",
				"Tue.",
				"Wed.",
				"Thu.",
				"Fri."
			],
			"on_duty_time": "08:30:00",
			"off_duty_time": "17:30:00"
		},
		"param_limit": {
			"type": "object",
			"items": {
				"similarity_face": {
					"type": "int32",
					"mode": "rw",
					"min": 0,
					"max": 100,
					"default_value": 70
				},
				"similarity_customer": {
					"type": "int32",
					"mode": "rw",
					"min": 0,
					"max": 100,
					"default_value": 50
				},
				"similarity_license": {
					"type": "int32",
					"mode": "rw",
					"min": 0,
					"max": 5,
					"default_value": 3
				}
			}
		},
		"support_recognize_car_color": [
            "yellow",
            "orange",
            "green",
            "gray",
            "red",
            "blue",
            "white",
            "brown",
            "black",
            "purple",
            "other"
        ],
        "support_recognize_car_type": [
            "Car",
            "Van",
            "SUV",
            "Truck",
            "Bus",
            "Other"
        ],
        "support_recognize_car_brand": [
            "Acura",
            "Alfa Romeo",
            "Aston Martin",
            "Audi",
            "Bentley",
            "Benz",
            "BMW",
            "Buick",
            "Cadillac",
            "Chevy",
            "Chrysler",
            "Citroen",
            "Dacia",
            "Dodge",
            "DS",
            "Ferrari",
            "FIAT",
            "Ford",
            "GMC",
            "Honda",
            "Hyundai",
            "Infiniti",
            "Jaguar",
            "Jeep",
            "KIA",
            "Lamborghini",
            "LAND-ROVER",
            "Lexus",
            "Lincoln",
            "Lotus",
            "MAZDA",
            "McLaren",
            "MINI",
            "Mitsubishi",
            "Nissan",
            "Opel",
            "Pagani",
            "Peugeot",
            "Porsche",
            "Renault",
            "Rolls-Royce",
            "Scion",
            "Seat",
            "Skoda",
            "Smart",
            "Subaru",
            "Suzuki",
            "Tesla",
            "Toyota",
            "Volkswagen",
            "Volvo",
            "Other"
        ],
        "support_recognize_person_upper_color": [
            "UpperBlack",
            "UpperGrey",
            "UpperBlue",
            "UpperWhite",
            "UpperBrown",
            "UpperRed",
            "UpperPink",
            "UpperGreen",
            "UpperOrange",
            "UpperYellow",
            "UpperPurple",
            "Other"
        ],
        "support_recognize_person_lower_color": [
            "LowerBlack",
            "LowerGrey",
            "LowerBlue",
            "LowerWhite",
            "LowerBrown",
            "LowerRed",
            "LowerPink",
            "LowerGreen",
            "LowerOrange",
            "LowerYellow",
            "LowerPurple",
            "Other"
        ],
        "support_recognize_person_gender": [
            "Male",
            "Female"
        ],
        "support_recognize_person_age": [
            "Senior",
            "Adult",
            "Minor",
            "Other"
        ],
        "support_recognize_person_hat": [
            "No",
            "Yes"
        ],
        "support_recognize_person_glasses": [
            "No",
            "Yes"
        ],
        "support_recognize_person_sleeve_length": [
            "ShortSleeve",
            "LongSleeve",
            "Other"
        ],
        "support_recognize_person_lower_type": [
            "Trousers",
            "Shorts",
            "Skirt&Dress",
            "Other"
        ],
        "support_recognize_person_bag": [
            "No",
            "HandBag",
            "ShoulderBag",
            "Backpack"
        ],
        "support_recognize_person_toward": [
            "Front",
            "Side",
            "Back",
            "Other"
        ]
	}
}

Error Code

See Response Messages Body and Common error_code for more information.